#ifndef __CONFIG_H__
#define __CONFIG_H__

#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <EGL\egl.h>
#include <GLES2\gl2.h>
#include <GLES2\gl2ext.h>
#include "Platform.h"

//Support dual platform
//	Android
//	Windows 32
#if CURRENT_PLATFORM == PLATFORM_WIN32
#	include <time.h>
#	include <tchar.h>
#	include <conio.h>
#	include <string>
#	include "memDbg.h" 
#else //Android Platform
#	include <jni.h>
#	include <android/log.h> 
#endif

//Config string base resource
#if CURRENT_DEVICE == DEVICE_PC_LAPTOP
#	define BASE_SRC	"../../Resources/"
#elif CURRENT_DEVICE == DEVICE_EMULATOR_ANDROID
#	define BASE_SRC ""
#elif CURRENT_DEVICE == DEVICE_ANDROID
#	define BASE_SRC ""
#endif

typedef char			_utInt8;
typedef unsigned char	_utUint8;
typedef short			_utInt16;
typedef unsigned short	_utUint16;
typedef int				_utInt32;
typedef unsigned int	_utUint32;
typedef long long		_utInt64;
typedef unsigned long long _utUint64;

#endif